package com.eol.entity.po.customer;

import io.swagger.annotations.ApiModel;

import javax.persistence.Id;
import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 客服留言
 *
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2020-05-25 14:26:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("客服留言")
public class ZCustomerMessage implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @Id
    private String id;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @Transient
    private Date startTime;
    @Transient
    private Date endTime;

}
